package com.ruoyi.web.task;

import com.ruoyi.web.service.IPoiApplyService;
import com.ruoyi.web.service.IPoiManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component("poiTask")
public class PoiTask {

    @Autowired
    private IPoiManagementService poiManagementService;

    @Autowired
    private IPoiApplyService poiApplyService;

    public void poiManagementExamine(){

        System.out.println("定时任务-----------poiManagementExamine");
        poiApplyService.poiManagement();

    }

}
